package com.dlc.beijingrfid.model;

import android.bluetooth.BluetoothDevice;

/**
 * 手持设备
 */
public class HandheldDevice {

    private String name;
    private boolean connected;

    private BluetoothDevice device;


    public HandheldDevice(String name, boolean connected) {
        this.name = name;
        this.connected = connected;
    }


    public HandheldDevice(String name, boolean connected, BluetoothDevice device) {
        this.name = name;
        this.connected = connected;
        this.device = device;
    }

    public BluetoothDevice getDevice() {
        return device;
    }

    public void setDevice(BluetoothDevice device) {
        this.device = device;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isConnected() {
        return connected;
    }

    public void setConnected(boolean connected) {
        this.connected = connected;
    }
}
